home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 012a / maxhst2.zip / MAXHST2.TXT
Text File  |  1991-03-23  |  20KB  |  450 lines

  1.                     Maximizing your HST efficiency.
  2.  
  3.  
  4.       I frequent many BBS's around the United States and overseas. 
  5. On most everyone of these board there are at least 10 people who
  6. post questions on what should they use as the "best" HST set-
  7. tings.  There is usually around a dozen text files (yeah, like
  8. this one) and programs that will try to help you get the most out
  9. of your modem.  I've examined many of these and listened to the
  10. advise of some so-called pro's.  I've been appalled at the gross
  11. inaccuracies that are reported.  Well, I've decided to stop
  12. complaining and do something about it.
  13.  
  14.       This text file will explain both in short and long form what
  15. the best settings to use on your U.S. Robotics Courier HST and
  16. HST Dual Standard modems (up to and including the newest version
  17. with V.42/V.42bis and V.32bis).  The settings I will provide have
  18. been tested over and over and I can assure you that they are
  19. correct and WILL give you MAXIMUM THROUGHPUT.
  20.  
  21.       Before I get into it let me get a couple of things straight. 
  22. The settings I will provide give maximum downloading speed with a
  23. very slight sacrifice (under 2%) to normal text that is sent by
  24. the BBS to your system.  What does this mean?  Simple.  In the
  25. settings below I will advise against using any data compression
  26. settings.  Your downloads will be at full speed but things like
  27. file listings which are text dumps from the host system to yours
  28. will be at about 98-99% of what they could be with compression.
  29.  
  30.  
  31.  
  32.       O.K., now on to the nitty as well as the gritty.  Some
  33. people don't like to read big technical explanations and just
  34. want the facts.  My simple advice is to just set up to what I
  35. describe below...I know it works cause I use it myself every
  36. single day.
  37.  
  38.       First, the DIP switch settings.
  39.  
  40.       1 - Up.   Normal DTR operations.  Can be overridden via &D
  41.                 setting.  See technical explanation.
  42.       2 - Up.   Verbal result codes.  Can be overridden via V set-
  43.                 ting.  See technical explanation.
  44.       3 - Down. Result codes enabled.  Can be overridden via Q
  45.                 setting.  See technical explanation.
  46.       4 - Up.   Command Mode Local Echo displayed.  Can be over-
  47.                 ridden via E setting.  See technical explanation.
  48.       5 - Down  Auto Answer suppressed.  Can be overridden via S0
  49.                 register.  Only needed if you are running the BBS.
  50.       6 - Up    Carrier Detect follows real.  Can be overridden
  51.                 via &C setting.  See technical explanation.
  52.       7 - Up    Result codes displayed in both Originate and An-
  53.                 swer modes.
  54.       8 - Down  Smart Command Set Recognition.
  55.       9 - Down  Modem maintains connection when the Escape Code
  56.                 (+++) is received, returns to Command mode and
  57.                 sends OK result.
  58.       10 - Up   Load from NRAM on Power-on and ATZ reset commands.
  59.  
  60.       What you will see next is the output from the "ATI4" com-
  61. mand.  This shows all the settings I recommend as they appear on
  62. my own modem.  If you change yours to match mine, bingo, you will
  63. be blasting away at full speed.
  64.  
  65. ati4
  66. USRobotics Courier 14400 HST Settings...
  67.  
  68.    B1  C1  E1  F1  M3  Q0  V1  X4
  69.    BAUD=38400  PARITY=N  WORDLEN=8
  70.    DIAL=HUNT   ON HOOK   TIMER
  71.  
  72.    &A1  &B1  &C1  &D2  &G0  &H1  &I0  &K0  &L0
  73.    &M4  &N0  &P0  &R2  &S1  &T5  &X0  &Y1  %R0
  74.  
  75.    S00=000  S01=000  S02=043  S03=013  S04=010
  76.    S05=008  S06=002  S07=060  S08=002  S09=006
  77.    S10=007  S11=070  S12=050  S13=000  S14=000
  78.    S15=000  S16=000  S17=000  S18=000  S19=000
  79.    S20=000  S21=010  S22=017  S23=019  S24=150
  80.    S25=000  S26=001  S27=000  S28=008  S29=020
  81.    S30=000  S31=000  S32=001  S33=000  S34=000
  82.    S35=000  S36=000  S37=000  S38=000
  83.  
  84.    LAST DIALED #:
  85.  
  86. OK
  87.  
  88.       Your current value for BAUD may be lower.  Change your
  89. communications program to reflect the higher baud rate and the
  90. HST will automatically change to match.  38400 is the highest
  91. that the HST supports and most every PC supports it as well.  If
  92. you are running under Windows then 19200 is the maximum.
  93.  
  94.       Let me save you some time too.  All the S registers are at
  95. their default values.  I included them to be complete.
  96.  
  97.       Feel free to change the X and &A values as you like.  These
  98. are the conservative ones.  In no case will these settings have
  99. any effect on your speed.
  100.  
  101.  
  102.  
  103.       For the technically minded or for those that want to know
  104. just why I chose the settings I did I could simply say, "Read
  105. your manual, that's where I got it."  Instead I am going to go
  106. through each of the settings one at a time so you can see for
  107. yourself how they were chosen.
  108.  
  109.  
  110.       "DIP switch settings"
  111.       =====================
  112.       Almost all of the DIP switch settings can be overridden by
  113. software settings so I'm not going to duplicate the information
  114. here.  Refer to the software commands that match the switch
  115. setting in question for further information.
  116.  
  117.  
  118.       "B1"
  119.       ====
  120.       This selects between HST and V.32 mode on modems (Dual
  121. Standard) that have that option.  Always use the HST mode.  The
  122. why on this is long and complicated but I will not leap into all
  123. that.  Instead let me put it real simply:  HST mode runs at
  124. 14,400 bps and V.32 runs at 9,600 bps.  Which do you think would
  125. be faster?  But you say that you need to connect with other V.32
  126. modems and that's why you bought the Dual Standard.  No prob, the
  127. modem is smart enough to automatically switch into V.32 mode if
  128. the other side doesn't recognize the HST link request.
  129.  
  130.       "C1"
  131.       ====
  132.       This is a very technical setting.  If you had a second modem
  133. on line and this one was the monitoring modem during a test,
  134. using C0 would disable the transmitter on this modem.  Now, since
  135. we obviously need to transmit we use the C1, transmitter on,
  136. setting.  Simple eh?
  137.  
  138.       "E1"
  139.       ====
  140.       This tells the modem to echo back each character as you type
  141. it WHILE IN COMMAND MODE ONLY.  This may be an E0 without affect-
  142. ing speed.
  143.  
  144.       "F1"
  145.       ====
  146.       This means that the modem will NOT echo what you type WHILE
  147. CONNECTED ONLY.  The receiving system does this for you.  This
  148. can be F0 without affecting speed.
  149.  
  150.       "M3"
  151.       ====
  152.       This settings means speaker off during the dialing and after
  153. connection but on while waiting for an answer.  You can change
  154. this to whatever you like but I use this setting because it makes
  155. a minimum amount of sound and let's me know when I've mis-dialed
  156. and wake someone up in Alaska.  This doesn't affect speed.
  157.  
  158.       "Q0"
  159.       ====
  160.       This tells the modem to return result codes.  If the modem
  161. doesn't return result codes your communications program won't
  162. know what's going on.  You can change this without affecting
  163. speed.
  164.  
  165.       "V1"
  166.       ====
  167.       This tells the modem to use verbal result codes instead of
  168. numeric.  It's up to your communications program which you need. 
  169. You can use either without affecting speed.
  170.  
  171.       "X4"
  172.       ====
  173.       This determines just how much info you want returned via
  174. result codes.  X4 is a safe medium.  It tells you everything
  175. except "RINGING" and "VOICE" which almost no communications
  176. programs use anyway.  If you choose another, try and make sure
  177. it's higher.  This doesn't affect speed.
  178.  
  179.  
  180.       "BAUD=38400"
  181.       ============
  182.       This setting is detected automatically by your modem and is
  183. displayed here for reference.  You want to set your communica-
  184. tions software at it's fastest rate (up to 38,400).  The name of
  185. our game is speed so it doesn't make any sense to try and create
  186. a bottleneck at the serial port.  All modern PC's support this
  187. speed.  19,200 is the highest supported under Windows so either
  188. live with the slower downloads or use Desqview instead.
  189.  
  190.       "Parity=N and WordLen=8"
  191.       ========================
  192.       This is the standard setting for connecting with most BBS's. 
  193. Your may be different to match certain systems.  This is O.K. 
  194. Also, the HST is smart enough to setup the Stop Bits value by
  195. itself and therefore it isn't displayed here.
  196.  
  197.       "Dial=Hunt  On Hook  Timer"
  198.       ===========================
  199.       These are some other, non-speed related settings which I
  200. won't go into here except briefly.  Dial=Hunt means that the HST
  201. will try tone dialing first then pulse automatically.  On Hook
  202. means the phone line is not in use.  Timer means that the modem
  203. clock via the ATI3 command will return the call duration.  Don't
  204. worry about these - it's the next batch that's important.
  205.  
  206.  
  207.       "&A1"
  208.       =====
  209.       Sets just how much into you want to know when the modem
  210. makes it connection.  &A1 gives you the basics.  Connect speed
  211. and whether or not error correction, i.e. "/ARQ", is used.  If
  212. you really want ALL the details and have the V.42 upgrade, use
  213. &A3 and you will know the connect speed, link protocol, error
  214. correction protocol and compression protocol.  NOTE:  Your HST
  215. will report a CONNECT 9600 for any speed from 9600 and up.  This
  216. means that a 12,000 or 14,400 bps connection will still report a
  217. CONNECT 9600.  Complain to USR - maybe they'll do something about
  218. it (&A4?).
  219.  
  220.       Guess what?  They did something about it!  HST's and Dual
  221. Standards manufactured after 10/11/90 will now actually report
  222. the correct CONNECT speed.  Not cause "we" asked for it but
  223. because the V.32bis standard allowed for it.  Who cares how it
  224. got there...it's there!
  225.  
  226.  
  227.       "&B1"
  228.       =====
  229.       Here is a oft misunderstood setting that is actually very
  230. simple.  &B1 tells the modem that no matter what speed we're
  231. talking to the other modem, force communications between your
  232. computer and your modem to always take place at the highest
  233. possible speed.
  234.  
  235.       "&C1"
  236.       =====
  237.       This matches DIP switch 6 and takes precedence over it's
  238. setting.  This setting tells the modem to send accurate Carrier
  239. Detect signals to your communications program.
  240.  
  241.       "&D2"
  242.       =====
  243.       This matches DIP switch 1 and takes precedence over it's
  244. setting.  This setting tells the modem to use the actual DTR
  245. signals as sent by your computer and communications program.  If
  246. this setting is forced on you may have problems with flow control
  247. and overrunning your serial port.  Also, this allows communica-
  248. tions programs to hang up the modem by simply dropping DTR
  249. instead of fooling around with delays and codes.
  250.  
  251.       "&G0"
  252.       =====
  253.       This is country specific.  &G0 is for the U.S. and Canadian
  254. phone system.  It sets the guard tone used.  Don't worry about
  255. this - it's technical and doesn't affect speed.
  256.  
  257.       "&H1"  & "&I0"
  258.       ==============
  259.       These are two important settings.  These set the flow
  260. control between your modem and computer.  &H1 says, use hardware
  261. flow control for transmitted data and &I0 says, no flow control
  262. for received data.  This all means, give it to me as fast as you
  263. possibly can and I'll send it to you as fast as you can take it. 
  264. By the way, hardware flow control is MUCH faster than software
  265. (XON/XOFF) control and is totally transparent.  Also, there is NO
  266. advantage to using both at the same time (&H3) - in fact it's
  267. slower.
  268.  
  269.       "&J0"
  270.       =====
  271.       This is the phone line interface type and is dependant on
  272. what you've got your modem hooked up to.  Use the appropriate
  273. setting.  &J0 is for standard, single line jacks like the RJ11. 
  274. This setting is no longer used on newer modems.
  275.  
  276.       "&K0"
  277.       =====
  278.       Ahh, data compression.  Now this setting is going to be one
  279. of considerable controversy but let me assure you that this
  280. setting, no compression, has been VERY THOROUGHLY checked out and
  281. provides the MAXIMUM download speed in all cases INVOLVING
  282. PRECOMPRESSED (.ZIP, .ARC, .LZH, etc.) files.  If you are going
  283. to be downloading text and other uncompressed files then by all
  284. means use &K3 if it's available, &K1 if you don't have the
  285. V.42bis upgrade.
  286.  
  287.       Most people downloading from BBS's will be downloading
  288. precompressed files (this includes .GIF files which are com-
  289. pressed files).  If you try and use your modem's compression you
  290. will only slow your download.
  291.  
  292.       Yes, I know that V.42bis was designed to minimize the impact
  293. of precompressed files on throughput.  Minimize yes, eliminate
  294. no.  We want max speed here.  So the 5-20% that we lose is
  295. significant.  For example, with V.42bis compression on I get
  296. downloads in the range of 1650-1690 cps.  With no compression
  297. these exact same downloads over the exact same phone links give a
  298. range of 1700-1740 (or higher in rare cases).
  299.  
  300.       The chart on page A-9 of the HST manual (A-2 in the older
  301. manuals) gives the maximum cps you can expect at various link
  302. rates.  Note that they list 1700 has the top speed to be had on
  303. .ARC or Random 8-bit binary files.  Ho ho!  Guess V.42bis is not
  304. all it's cracked up to be eh?  Right from the manufacturers own
  305. manual.  The older manuals used to list speeds without compres-
  306. sion.  With the &K0 setting you are permitting error control up
  307. to MNP level 4 but disabling MNP 5 and V.42bis compression.  The
  308. maximum you should be able to get is 1740 cps (this is documented
  309. in the older manuals).  Rates higher than this do occasionally
  310. happen but in 95% of the cases are the result of errors in the
  311. rate calculations of the download protocol/program.  There is
  312. math you can do to prove this maximum rate (as it is a topic of
  313. much argument amongst so-called professionals).
  314.  
  315.       Now, I know your eyes made it to the 3840 cps figure and
  316. saying, "Hey, I want to go that fast!"  Well, you are...actually
  317. you can even go much faster.  How?  Well, don't forget, you are
  318. receiving precompressed data that was compressed based on the
  319. entire files' contents not just a 1024-2048 byte chunk the modem
  320. uses.  Say you had a 100,000 byte text file that was only 25,000
  321. bytes when .ZIPed.  If you downloaded it at 1720 cps your actual
  322. transfer rate, based on the real number of bytes received, is
  323. 6880 cps!  This is not unusual for an assembler or Compiler
  324. listing sent this way.  I've seen transfers hit over 8000 cps in
  325. real bytes received.
  326.  
  327.       Back to the point.  Do NOT use compression on your HST.  Up
  328. and Download compressed files instead.  There is NEVER a case
  329. where a .ZIP or .GIF file (and most others) will transfer faster
  330. with compression on then with it off.  I take any wager on this
  331. because I'm sick of hearing others get it wrong.  Put your money
  332. where your mouth is!
  333.  
  334.       "&L0"
  335.       =====
  336.       This set's leased line operation or not.  0 if not, 1 if.
  337.  
  338.       "&M4"
  339.       =====
  340.       This setups error control modes and Synchronous options. 
  341. We'll ignore the synchronous options because 99% of PC BBS's
  342. don't use it and the IBM PC doesn't support it (normally).  &M4
  343. says "use error correction, if the other side has got it, other-
  344. wise just connect."  This is the most flexible mode.  There are
  345. many types of error correction your HST uses: MNP 1-4, HST (there
  346. is both a HST link protocol and a HST error correction protocol),
  347. LAPM and V.42.  V.32 is a link protocol and has nothing to do
  348. with error correction.  V.42bis is a compression protocol and has
  349. nothing to do with error control or link protocol.  For example,
  350. your HST could link at 14,400 bps using HST link protocol, any of
  351. the error correction types and V.42bis compression.  Use the &A3
  352. command if you'd like to see what your modem is using each call.
  353.  
  354.       "&N0"
  355.       =====
  356.       This tells the modem to negotiate the highest possible link
  357. rate with the modem AND to fallback if there is significant line
  358. noise and fallforward when things improve again, if they do.  If
  359. you were to use &N8 (to force at 14.4K connection for example)
  360. you would be disabling fallback/fallforward capability.
  361.  
  362.       "P0"
  363.       ====
  364.       This is the pulse dialing make/break ratio and &P0 is for
  365. the U.S. and Canada.
  366.  
  367.       "&R2" and "&S1"
  368.       ===============
  369.       These two settings, duplicated on DIP switches 6 and 1,
  370. control RTS flow control and DSR operation.  &R2 tells the modem
  371. to only sent data to your serial port when your computer says it
  372. is ready.  This helps prevent overruns and is VERY important if
  373. your are multitasking or have a slow computer.  &S1 tells the
  374. computer when the modem is ready for interaction and when the
  375. call is disconnected.  The importance of the &R2 setting cannot
  376. be overstated.  USE THIS SETTING if you intend to handle 1740 cps
  377. downloads.
  378.  
  379.       "&T5"
  380.       =====
  381.       This is a technical test setting with nothing to do with
  382. speed.  It means: Deny Digital Loop Back.  Don't worry about it.
  383.  
  384.       "&X0" and "&Y1"
  385.       ===============
  386.       Two technical settings which have nothing to do with speed. 
  387. &X is for synchronous connections and &Y handles the break
  388. signal.  Neither is used by PC's so I won't get into them.
  389.  
  390.       "%R0"
  391.       =====
  392.       Disable RCU link request - trust me, you don't need to know.
  393.  
  394.       That's all folks.  If you use these settings you WILL get
  395. the most out of your HST and of this I'm certain.
  396.  
  397.       Before I part let me add just a little more information to
  398. complete this document.  Now that your modem is working at top
  399. speed you should make sure your getting the most out of your
  400. download protocol.
  401.  
  402.       The fastest protocol is YModem-g.  Simple as that.  It
  403. doesn't do anything fancy.  It just blasts information down the
  404. line and assumes that your modem is taking care of error checking
  405. so don't use it if you don't have a MNP ("/ARQ") connection.
  406.  
  407.       There are many other protocols but I'll also mention ZModem
  408. and especially ZModem-90 (also known as MobyTurbo).  ZModem in
  409. itself is fast.  Using the compression option is not useful for
  410. the same reasons using &K1 or &K3 isn't.  ZModem-90 is an im-
  411. provement in nearly the same way as V.42bis is an improvement
  412. over MNP level 5 (&K3 over &K1 in HST lingo).  It is better at
  413. handling precompressed files but still not the best.
  414.  
  415.       If you are using DSZ remember to include the "handshake on"
  416. option on the command line.  Do NOT use software handshaking, it
  417. will slow things down.  DSZ's "handshake on" activates hardware
  418. flow control and makes DSZ as fast as it's going to get.
  419.  
  420.       To squeeze the last bit of speed outta DSZ, use the .EXE
  421. version and/or include the following option on the command line:
  422. "pB4096".  This increases the buffer size.  If you have the .EXE
  423. version of DSZ, use "pB16384" instead for 16K blocks.  ZModem
  424. users add: "z pL1024" after the previous to get the packet size
  425. up to maximum right from the start.  These tips are worth a
  426. couple of cps.
  427.  
  428.       Last thing:  If you communications program and/or download
  429. protocol supports it USE a NS16550A(F)N UART chip.  DSZ supports
  430. it and it will go a long way towards helping your downloads get
  431. there intact.
  432.  
  433.       This file was typed out during a Diet Pepsi buzz in the
  434. middle of the night so cut me some grammatical and formatting
  435. slack.
  436.  
  437.       My Name is:   Alex Boge
  438.       You can reach me on CompuServe at 72470,402.
  439.       Or on Rusty & Edie's BBS (216) 726-3589 as "Drestin Black"
  440.       Or you can call me anytime (except between 4 a.m. and noon)
  441. any day at (313) 781-2124.
  442.  
  443.       Please let me know what you think of this file.  I would be
  444. happy to write on other topics of which I have knowledge if
  445. someone needs the info.  Give me a call or send me some e-mail if
  446. there is some computer mystery you'd like cleared up.
  447.  
  448. August 18, 1990
  449. Slight revision March 22, 1991
  450.